package com.enniswu.weitter.user.info;

import com.enniswu.weitter.entity.User;
import com.enniswu.weitter.moment.postlist.PostListContract;

import java.util.List;

public interface UserInfoContract {
    interface View extends PostListContract.View<Presenter> {
        void updateInfo(User user);
        void setFollowing(List<Integer> following);
        void setFollows(List<Integer> follows);
        void setFollow(boolean isFollowed);
    }

    interface Presenter extends PostListContract.Presenter {
        void getUser(int id);
        void getFollowing();
        void getFollows();
        void follow();
        void unfollow();
    }
}
